<?php
/**
 * (commands) 退货报表数据回写（修正品质报表数据，以return_date时间为参数）
 */
namespace App\Console\Commands\Quality;

use App\Logic\Quality\SyncReturnRepair;
use Illuminate\Console\Command;
class QualityReturnRepair extends Command
{
    /**
     * The name and signature of the console command.
     * @var string
     */
    protected $signature = 'quality:return-repair';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'quality sync return data';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        SyncReturnRepair::init();
        $this->info('统计完成！');
        die('finish');
    }
}
